package d;

import java.io.Serializable;

public final class c<A, B> implements Serializable {

    /* renamed from: b  reason: collision with root package name */
    private final A f2698b;

    /* renamed from: c  reason: collision with root package name */
    private final B f2699c;

    public c(A a2, B b2) {
        this.f2698b = a2;
        this.f2699c = b2;
    }

    public final A a() {
        return this.f2698b;
    }

    public final B b() {
        return this.f2699c;
    }

    public final A c() {
        return this.f2698b;
    }

    public final B d() {
        return this.f2699c;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof c)) {
            return false;
        }
        c cVar = (c) obj;
        return d.h.b.c.a(this.f2698b, cVar.f2698b) && d.h.b.c.a(this.f2699c, cVar.f2699c);
    }

    public int hashCode() {
        A a2 = this.f2698b;
        int i = 0;
        int hashCode = (a2 != null ? a2.hashCode() : 0) * 31;
        B b2 = this.f2699c;
        if (b2 != null) {
            i = b2.hashCode();
        }
        return hashCode + i;
    }

    public String toString() {
        return '(' + this.f2698b + ", " + this.f2699c + ')';
    }
}
